package com.dnzx.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.dnzx.model.OrderItemBO;

/**
* 订单明细
 */
@Repository
public interface IOrderItemDao {

	public void save(OrderItemBO orderItemBO);

	public void delete(Long id);

	public void update(OrderItemBO orderItemBO);

	public OrderItemBO get(Long id);
	
	public List<OrderItemBO> queryList(OrderItemBO orderItemBO);
	
	public List<OrderItemBO> queryPage(@Param("pageSize") int pageSize, 
			@Param("startRow") int startRow, @Param("bo") OrderItemBO bo);
	
	public int queryCount(OrderItemBO orderItemBO);

}
